ci(deps): add 3-day cooldown to npm dependabot updates#60
Merged
Conversation
Dependabot picked brand-new package versions and regularly tripped pnpm's ~24h minimumReleaseAge gate, turning CI red until the packages aged out. A cooldown makes Dependabot only propose versions that are already a few days old, so the release-age gate never fires. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warum
Dependabot wählt immer die neuesten Paketversionen. pnpm 11 lehnt beim
`install --frozen-lockfile` aber Pakete ab, die jünger als ~24h sind
(`minimumReleaseAge`, Supply-Chain-Schutz). Dadurch lief die CI bei
Dependabot-PRs regelmäßig rot (`ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION`),
bis die Pakete alt genug waren — zuletzt PR #59 (daisyui/eslint/svelte).
Was
`cooldown: default-days: 3` für das npm-Ökosystem: Dependabot schlägt nur
Versionen vor, die schon ≥3 Tage alt sind. Damit greift die 24h-Sperre nie
mehr. Kein Code-Change, nur Config.
Nach dem Merge wird PR #59 per `@dependabot recreate` neu gebaut und läuft
dann grün durch.
🤖 Generated with Claude Code